Welcome![Sign In][Sign Up]
Location:
Search - MATLAB PSNR

Search list

[Compress-Decompress algrithmsSPIHT(Matlab).zip

Description:

% Matlab implementation of SPIHT (without Arithmatic coding stage)
%
% By Jing Tian, scuteejtian@hotmail.com

fprintf('-----------   Welcome to SPIHT Matlab Demo!   ----------------\n');

fprintf('-----------   Load Image   ----------------\n');
infilename = 'lena512.bmp';
outfilename = 'lena512_reconstruct.bmp';

Orig_I = double(imread(infilename));

rate = 1;

OrigSize = size(Orig_I, 1);
max_bits = floor(rate * OrigSize^2);
OutSize = OrigSize;
image_spiht = zeros(size(Orig_I));
[nRow, nColumn] = size(Orig_I);

fprintf('done!\n');
fprintf('-----------   Wavelet Decomposition   ----------------\n');
n = size(Orig_I,1);
n_log = log2(n);
level = n_log;
% wavelet decomposition level can be defined by users manually.
type = 'bior4.4';
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(type);

[I_W, S] = func_DWT(Orig_I, level, Lo_D, Hi_D);

fprintf('done!\n');

fprintf('-----------   Encoding   ----------------\n');
img_enc = func_SPIHT_Enc(I_W, max_bits, nRow*nColumn, level);  

fprintf('done!\n');
fprintf('-----------   Decoding   ----------------\n');
img_dec = func_SPIHT_Dec(img_enc);

fprintf('done!\n');
fprintf('-----------   Wavelet Reconstruction   ----------------\n');
img_spiht = func_InvDWT(img_dec, S, Lo_R, Hi_R, level);

fprintf('done!\n');
fprintf('-----------   PSNR analysis   ----------------\n');

imwrite(img_spiht, gray(256), outfilename, 'bmp');

Q = 255;
MSE = sum(sum((img_spiht-Orig_I).^2))/nRow / nColumn;
fprintf('The psnr performance is %.2f dB\n', 10*log10(Q*Q/MSE));


Platform: | Size: 232873 | Author: jasonchang | Hits:

[Graph Recognize两个水印评价函数

Description: 两个常用的数字水印评价函数:信躁比比(SNR)和峰值信躁比(PSNR)-two commonly used digital watermarking evaluation function : Oh habibi letter (SNR) and peak letter impatient than (PSNR)
Platform: | Size: 1024 | Author: 东东 | Hits:

[Graph programtest psnr

Description: 视频处理中最重要的指标:PSNR(峰值信噪比)。本人写的一个小程序,用于测试图象中的Y、U、V分量的PSNR值。-PSNR is a very important index in video disposal. there are a little program . It tests the PSNR of the YUV in the image.
Platform: | Size: 52224 | Author: 天天 | Hits:

[Streaming Mpeg4PSNR

Description: 测量视频文件信噪比的文件,对于研究视频压缩很有作用,可以进行压缩质量检验-The file of surveying SNR with video frequency file,more effect with study video compress,can test quality of compress.
Platform: | Size: 25600 | Author: 王宁 | Hits:

[Special Effectsyuvpsnr

Description: PSNR of YUV videos - matlab-PSNR of YUV videos-Matlab
Platform: | Size: 2048 | Author: 廖智茗 | Hits:

[Special Effectspsnr_absolutepath

Description: 计算图像峰值信噪比psnr的matlab源程序,相对路径转绝对路径的matlab程序-computing image PSNR psnr the Matlab source, relative to the absolute path of Matlab procedures
Platform: | Size: 1024 | Author: 夏雨雪 | Hits:

[GDI-Bitmapmi-fil

Description: 图像中值滤波,利用中值滤波和低通滤波进行比较,分析PSNR,得出性能差别-image filtering, using median filter and a low-pass filter, PSNR analysis, the performance differences come
Platform: | Size: 29696 | Author: ricky | Hits:

[Special Effectsdigitalimage1

Description: 图象的直方图处理及全尺度变换和各种性能指标的计算,如psnr,mse等-image histogram processing and full scale transformation and various performance indicators, such as psnr, mse etc.
Platform: | Size: 177152 | Author: 高颖 | Hits:

[Graph Drawingimages001

Description: 实现PSNR的MATLAB代码,功能是比较两图象的峰峰值。-achieve PSNR MATLAB code is more functional image of the two-peak.
Platform: | Size: 829440 | Author: | Hits:

[matlabvi2

Description: This program compress and recostruct using wavelets. We can select level of decomposition(here maximum 4 levels are given) of images using selected wavelet. For eg:-wavelets can be haar, db1, db2,dmey............... Decomposition can be viewed in figure. (Please note that select 256X256 image for better result.) Then compression can performed, PERFL2 give compression score. Then reconstruction can be performed. Each decompsition we can choose different threshold values. For each threshold value we can calculate mse,psnr,pq(picture quality), bit ratio etc. To get pq install pqs function . -This program compress and recostruct using wavelets. We can select level of decomposition (here maximum 4 levels are given) of images using selected wavelet.For eg:-wavelets can be haar, db1, db2, dmey ........ ....... Decomposition can be viewed in figure. (Please note that select 256X256 image for better result.) Then compression can performed, PERFL2 give compression score.Then reconstruction can be performed.Each decompsition we can choose different threshold values . For each threshold value we can calculate mse, psnr, pq (picture quality), bit ratio etc. To get pq install pqs function.
Platform: | Size: 3072 | Author: 陈语恬 | Hits:

[Special Effectspnsr

Description: 求图像峰值信噪比PSNR的代码matlab版-PSNR PSNR for the image code matlab version
Platform: | Size: 3072 | Author: 远志 | Hits:

[Special EffectsPSNR

Description: %本程序功能是计算2幅彩色图像的PSNR,以此来评价图像处理的效果%%%%%%%%% % 运行的结果保存在变量PSNR中- This program features the calculation of two color images of the PSNR, in order to evaluate the effect of image processing the results of running stored in variables in PSNR
Platform: | Size: 1024 | Author: | Hits:

[Special EffectsPSNR

Description: 计算PSNR值,一个不错的算法,值得看一下-Calculation of PSNR value, a good algorithm, it is worth a look
Platform: | Size: 2048 | Author: 王宏伟 | Hits:

[Special Effectspsnr

Description: 计算两幅图像的psnr值,非常精确完整,绝对好用-Calculation of two images of the PSNR values, integrity and very precise, the absolute ease of use
Platform: | Size: 1024 | Author: | Hits:

[matlabPSNR

Description: 图像处理,图像的峰值信噪比PSNR,matlab代码例程,验证可用-Image processing, image the peak signal to noise ratio PSNR, matlab code routines can be used to verify
Platform: | Size: 1024 | Author: 陈阳 | Hits:

[Special EffectsPSNR

Description: 用MATLAB读取一幅图像,并且计算其图像信噪比-Using MATLAB to read an image and calculate the image SNR
Platform: | Size: 1024 | Author: 张龙 | Hits:

[Special EffectsPSNR

Description: calculate PSNR between frame to frame in one video sequence
Platform: | Size: 10240 | Author: dragonslaver | Hits:

[Graph DrawingPSNR

Description: 本程序功能是计算2幅彩色图像的PSNR,以此来评价图像处理的效果-This program features the calculation of two color images of the PSNR, in order to assess the effect of image processing
Platform: | Size: 2048 | Author: 陈增境 | Hits:

[matlabpsnr

Description: 计算噪声图像的信噪比,matlab算法程序-Calculate the noise image signal to noise ratio, matlab algorithm program
Platform: | Size: 102400 | Author: liu | Hits:

[matlabpsnr-nc

Description: 所上传的文件时为了在MATLAB中求PSNR、归一化相关系数NC的值-have PSNR, NC values In MATLAB
Platform: | Size: 3072 | Author: amue | Hits:
« 12 3 4 5 6 7 8 9 10 »

CodeBus www.codebus.net